<script>
    $(document).ready(function() {
        $("#contact").validate({
            errorElement: "span",
            rules: {
                cpassword: {
                    equalTo: "#password"
                }
            }
        });
    });
</script>
<div class="products">
    <div class="log-reg">
        <div class="products-title">
            <h3>Liên hệ</h3>
        </div>
        <form name="" id="contact" action="" method="post" >
            <!--<fieldset>-->
                <p>
                    <label>Tên đầy đủ: <span class="notice">*</span></label>
                    <input type="text" class="required inp" id="name" minlength="6" name="txtName" />
                </p>	
                <p>
                    <label>Địa chỉ email: <span class="notice"> * </span></label>
                    <input type="text" class="required email inp" id="email" name="txtEmail" />
                </p>
                <p>
                    <label>Số điện thoại: <span class="notice"> * </span></label>
                    <input type="text" id="mobi" class="required digits inp" name="txtMobi" />
                </p>
                <p>
                    <label>Số fax:</label>
                    <input type="text" class="inp" id="fax" name="txtFax" />
                </p>
                <p>
                    <label>Tên công ty:</label>
                    <input type="text" class="inp" id="company" name="txtCompany" />
                </p>
                <p>
                    <label>Tiêu đề: <span class="notice">*</span></label>
                    <input type="text" class="required inp" id="title" name="txtTitle" />
                </p>	
                <p>
                    <label>Nội dung: <span class="notice">*</span></label>
                    <textarea name="txtContent" class="required" style="vertical-align: top;" rows="6" cols="40"></textarea>
                </p>	
                <p>
                    <label></label>
                    <input type="submit" name="btnSubmit" value="Liên hệ" />
                </p>	
            <!--</fieldset>-->
        </form>
    </div>
</div>